package org.example.service;

import org.example.domain.Product;
import org.example.qo.PageResult;
import org.example.qo.QueryObject;

import java.util.List;

/**
 * @author 李新雨的项目86176
 * @version 1.0
 * @date 2024-12-03 9:07
 */
public interface IProductService {
    void deleteByPrimaryKey(Long id);

    void insert(Product record);

    Product selectByPrimaryKey(Long id);

    List<Product> selectAll();

    void updateByPrimaryKey(Product record);
    PageResult<Product> selectPage(QueryObject queryObject);
}
